package com.zx.web.dao;

import com.zx.bean.Goods;
import com.zx.bean.GoodsType;

import java.util.List;

/**
 * @author 章鑫
 * @version V1.0
 * @Project 2022-09-05
 * @Package com.zx.web.dao
 * @Description:
 * @Date 2022/9/14 15:29
 */
public interface GoodsDao {
    long findTotalCount(int typeId);

    List<Goods> findDataPage(int pageNum, int pageSize, int typeId);

    Goods findGoodsDetail(int id);

    GoodsType findGoodsType(int typeid);
}
